#ifndef __HMI_H
#define __HMI_H

struct id
{
    uint8_t p_id;   
    uint8_t t_id;   
    uint8_t is;     
    uint8_t x;      
    uint8_t y;      
};

typedef struct __animals
{
    struct id No1;
    struct id No2;
    struct id No3;
    struct id No4;
    struct id No5;
    uint8_t munber;
}animals;

extern animals peacock;
extern animals monkey;
extern animals wolf;
extern animals tiger;
extern animals elephant;

void set_animals(uint8_t id,uint8_t x,uint8_t y);
void HMIRxOneByte(uint8_t data);

#endif
